home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / C / Copy of FSP Control < prev    next >
Text File  |  1987-05-25  |  2KB  |  84 lines

  1. * This is the "FSP Control" I use with FSP 2.1
  2. *
  3. * My main volume is named "DataFrame 20"
  4. * There is a folder named "BBS", and that
  5. * contains the application "Red Ryder Host"
  6. * and other applications for use with Host,
  7. * including FSP 2.1 .  In this folder I also
  8. * have 3 other folders named "Menus",
  9. * "Sections", and "BU Sections".
  10. * I have 4 File sections (and 4 Back-Up sections).
  11. * They are called DL,UL,LibraryDL,and LibraryUL.
  12. *
  13. * By following along below, you should be able to
  14. * see how this works.
  15. *
  16. * The "DL" section
  17. *
  18. LOAD  "DataFrame 20:BBS:Sections:DL" ; load file section "DL"
  19. PURGE                                ; remove files marked for deletion
  20. CHECK/PATH                           ; check the path of the files
  21. PURGE                                ; delete any files that aren't found
  22. SORT/DATE                            ; sort file section by date
  23. DELETE/DUPS                          ; delete any duplicate listings
  24. PURGE                                ; remove dupl.files (old ones!)
  25. SAVETEXT/DESC  "DL-DATE"             ; create text file sorted by date
  26. SORT/TITLE                           ; sort file section by name
  27. SAVETEXT/DESC  "DL-NAME"             ; create text file sorted by name
  28. SAVE  "DataFrame 20:BBS:Sections:DL"         ; save the file section
  29. SAVE  "DataFrame 20:BBS:BU Sections: BU DL"  ; create a back-up
  30. CLEAR                                ; clear the memory for next section
  31. *
  32. * The "UL" section   ; Now we repeat the steps above for other sections
  33. *
  34. LOAD  "DataFrame 20:BBS:Sections:UL"
  35. PURGE
  36. CHECK/PATH
  37. PURGE
  38. SORT/DATE
  39. DELETE/DUPS
  40. PURGE
  41. SAVETEXT/DESC  "UL-DATE"
  42. SORT/TITLE
  43. SAVETEXT/DESC  "UL-NAME"
  44. SAVE  "DataFrame 20:BBS:Sections:UL"
  45. SAVE  "DataFrame 20:BBS:BU Sections:BU UL"
  46. CLEAR
  47. *
  48. * The "LibraryDL" section
  49. *
  50. LOAD  "DataFrame 20:BBS:Sections:LibraryDL"
  51. PURGE
  52. CHECK/PATH
  53. PURGE
  54. SORT/DATE
  55. DELETE/DUPS
  56. PURGE
  57. SAVETEXT/DESC  "LibraryDL-DATE"
  58. SORT/TITLE
  59. SAVETEXT/DESC  "LibraryDL-NAME"
  60. SAVE  "DataFrame 20:BBS:Sections:LibraryDL"
  61. SAVE  "DataFrame 20:BBS:BU Sections:BU LibraryDL"
  62. CLEAR
  63. *
  64. * The "LibraryUL" section
  65. *
  66. LOAD  "DataFrame 20:BBS:Sections:LibraryUL"
  67. PURGE
  68. CHECK/PATH
  69. PURGE
  70. SORT/DATE
  71. DELETE/DUPS
  72. PURGE
  73. SAVETEXT/DESC  "LibraryUL-DATE"
  74. SORT/TITLE
  75. SAVETEXT/DESC  "LibraryUL-NAME"
  76. SAVE  "DataFrame 20:BBS:Sections:LibraryUL"
  77. SAVE  "DataFrame 20:BBS:BU Sections:BU LibraryUL"
  78. CLEAR
  79. *
  80. * Now launch "Red Ryder Host" ; This will work as a CMN#50 also!
  81. *
  82. LAUNCH  "Red Ryder Host"
  83.